package com.ruoyi.SuveryInterface.Imp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.SuveryInterface.Imp.domain.SysIdentityDsrxx;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-07-11
 */
public interface SysIdentityDsrxxMapper extends BaseMapper<SysIdentityDsrxx> {

    void insertBatch(@Param("identityDsrxxes") List<SysIdentityDsrxx> identityDsrxxes);

    @Select("select id ,cases_id as casesId,c_mc as cMc,n_dsrlx as nDsrlx,n_ssdw as nSsdw from sys_identity_dsrxx where cases_id = #{casesId}")
    List<SysIdentityDsrxx> selectSysIdentityDsrxxByCasesId(Long casesId);
}
